<%--
    Document   : formularioModificarPersona
    Created on : 09/12/2010, 03:49:55 AM
    Author     : Rafael
--%>
<%@ include file='../Templates/security.jsp' %>
<script type="text/javascript">
    $(function(){
        $('#fechaNac').datepicker({
            dateFormat: 'dd/mm/yy',
            maxDate: new Date(),
            showOn: "button",
            buttonImage: "style/images/calendar.gif",
            buttonText: "calendario"
        }).attr('readonly', true);
    });
</script>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<h1 class="title">Gestión de Empleados</h1>

<p class="meta"></p>
<center>
    <h2>Detalle Empleado</h2>
    <html:form action="/ModificarPersona"
               styleId="modificarPersonaForm"
               onsubmit="return sendForm('modificarPersonaForm','ModificarPersona','center');" >
        <br>
        <br>
        <table  align="center" border="0">
            <tr>
                <td>Cédula:</td>
                <td>
                    <html:text size="1" maxlength="10" property="voe" disabled="true"/>
                    &nbsp;-&nbsp;
                    <html:text size="17" maxlength="12" property="ci" disabled="true"/>
                </td>
            </tr>

            <tr>
                <td>UsbId:</td>
                <td>
                    <html:text size="25" maxlength="10" property="usbid" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Primer Nombre:</td>
                <td>
                    <html:text size="25" maxlength="15" property="nombre1" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Segundo Nombre:</td>
                <td>
                    <html:text size="25" maxlength="15" property="nombre2" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Primer Apellido:</td>
                <td>
                    <html:text size="25" maxlength="20" property="apellido1" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Segundo Apellido:</td>
                <td>
                    <html:text size="25" maxlength="20" property="apellido2" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td >Sexo:</td>
                <td>
                    <html:text size="25" maxlength="10" property="sexo" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td >Estado Civil:</td>
                <td>
                    <html:text size="25" maxlength="10" property="edoCivil" disabled="true"/>

                </td>
            </tr>
            <tr>
                <td>Fecha de Nacimiento:</td>
                <td>
                    <html:text size="25" maxlength="20" property="fechaNac" styleId="fechaNac" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Teléfono:</td>
                <td>
                    <html:text size="25" maxlength="11" property="telefono" disabled="true"/>
                </td>
            </tr>

            <tr>
                <td>Email (opcional):</td>
                <td>
                    <html:text size="25" maxlength="30" property="email" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <html:hidden property="profesion" value="Empleado" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <html:hidden property="activo" value="si" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Sede:</td>
                <td>
                    <html:text size="25" maxlength="10" property="sede" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Tipo:</td>
                <td>
                    <html:text size="25" maxlength="10" property="tipoPersonal" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Horario:</td>
                <td>
                    <html:text size="25" maxlength="10" property="idHorario" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td >Función del Empleado:</td>
                <td>
                    <html:text size="25" maxlength="10" property="funcion" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Grupo:</td>
                <td>
                    <html:text size="25" maxlength="10" property="idGrupo" disabled="true"/>
                </td>
            </tr>
            <tr>
                <td>Login:</td>
                <td>
                    <html:text size="25" maxlength="20" property="login" disabled="true"/>
                </td>
            </tr>

            <tr>
                <td>Permisos Sobre el Sistema: </td>
                <td>
                    <html:text size="25" maxlength="10" property="nombreRol" disabled="true"/>
                </td>
            </tr>
        </table>
        <br>
        <center>
            <button value="Atrás" onclick="javascript: empleadosN()" >Atrás</button>
        </center>
    </html:form>
    <br/>

</center>
<div style="clear: both;">&nbsp;</div>
